@media screen and (min-width: 300px) {
  .goods-card {
    width: calc((100% - 36px) / 2);
    margin: 8px;
  }
}

@media screen and (min-width: 700px) {
  .goods-card {
    width: calc((100% - 56px) / 3);
    margin: 8px;
  }
}

@media screen and (min-width: 1000px) {
  .goods-card {
    width: calc((100% - 72px) / 4);
    margin: 8px;
  }
}

.goods-card {
  display: inline-block;
  cursor: default;
  vertical-align: top;

  &-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    &-inner {
      position: absolute;
      top: 0px;
      bottom: 0px;
      left: 0px;
      right: 0px;
    }
    & img {
      width: 100%;
      height: 100%;
    }
  }

  &:hover .goods-card-image img {
    transform:scale(1.1);
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -o-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transition:All 0.8s ease-in-out;
    -webkit-transition:All 0.8s ease-in-out;
    -moz-transition:All 0.8s ease-in-out;
    -o-transition:All 0.8s ease-in-out;
  }

  &-info {
    font-size: 12px;
    padding: 8px;
  }

  &-name {
    font-size: 13px;
    margin: 4px 0;
    cursor: pointer;
  }

  &-price {
    font-size: 16px;
    font-weight: 800;
    vertical-align: bottom;
    color: #D7B25A;
    padding-right: 8px;
    height: 20px;
    cursor: pointer;
  }

  &-origin-price {
    vertical-align: bottom;
    padding-right: 8px;
    height: 20px;
    line-height: 24px;
    cursor: pointer;
  }

  &-cart {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background: #D7B25A;
    margin-top: 4px;
    cursor: pointer;
    .svg-icon {
      color: #fff;
      padding: 3px;
      font-size: 14px;
    }
  }

  .el-card__body {
    padding: 0;
  }
}

